﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Weblink_Add.aspx.cs" Inherits="Admin_Form_Weblink_Add" MasterPageFile="/Admin/MasterPage.master" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server" ID="content">
    <telerik:RadWindowManager runat="server" ID="window1">
        <Windows>
             <telerik:RadWindow runat="server" Width="400px" Height="400px" VisibleStatusbar="false"
                NavigateUrl="FileManager.aspx" ID="ExplorerWindow" Modal="true" >
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
<fieldset style="width: 850px">
    <legend style="padding: 10px 20px 10px"><h3 style="color: #3333FF; font-size:large">QUẢN TRỊ WEBLINK</h3></legend>    
    <div style="text-align:center; font-size:larger"><asp:Label runat="server" CssClass="AdminMessage" ID="lblMessage"> </asp:Label></div>
      <input type="hidden" id="txtContactID" runat="server" />
        <table style="text-align:left">

            <tr>
                <td>
                    Logo công ty
                </td>
                <td style="width: 200px">
                    <asp:TextBox ID="txtCompanyName" runat="server"></asp:TextBox>     
                    <asp:Button ID="selectFile" OnClientClick="openRadWindow('FileManager.aspx?control=txtCompanyName','ExplorerWindow'); return false;" Text="Open... " runat="server" />
                </td>
                <td>
                </td>
            </tr>
            
            <tr>
                <td>
                    Đường dẫn
                </td>
                <td style="width: 200px">
                    <asp:TextBox CssClass="AdminTextbox" ID="txtWeblink" runat="server"></asp:TextBox>
                </td>
                <td>
                </td>
            </tr>
            
           
            <tr>
               <td>
                    Thứ Tự Hiển Thị
                </td>
                <td style="width: 400px">
                    <telerik:RadNumericTextBox ID="txtViewOrder" runat="server">
                    </telerik:RadNumericTextBox>
                </td>
                <td>
                <asp:RequiredFieldValidator ControlToValidate="txtViewOrder" ID="RequiredFieldValidator2" runat="server" ErrorMessage="Bạn Phải Nhập Thứ Tự Hiển Thị"></asp:RequiredFieldValidator>
                </td>
            </tr>
            
           
            <tr>
                <td colspan="3" align="center">
                    <asp:Button CssClass="AdminSaveButton" runat="server" ID="btnCreate" OnClick="btnCreate_Click" Text="Thêm Mới" />
                    <asp:Button CssClass="AdminCancelButton" runat="server" ID="btnReset" CausesValidation="false" OnClick="btnReset_Click" Text="Quay Lại" />            
                </td>
            </tr>
        </table>
    
   </fieldset>
</asp:Content>
